package jsu.ask.service;

import com.hankcs.hanlp.seg.common.Term;
import jsu.ask.dao.SearchMapper;

import java.util.List;

public class SearchServiceImpl implements SearchService{
    private SearchMapper searchMapper;

    public void setSearchMapper(SearchMapper searchMapper) {
        this.searchMapper = searchMapper;
    }

    public List<String> Search(List<Term> keys){
        return searchMapper.Search(keys);
    }

    public List<String> SearchTest(){return searchMapper.SearchTest();}
}
